package com.EM1.www.po;

import java.util.Date;

public class Exam {
   private Date start;
   private Date end;
   private int paperId;
    private int teacher_id;
    private int grade;

    public Exam(Date start, Date end, int paperId, int teacher_id, int grade) {
        this.start = start;
        this.end = end;
        this.paperId = paperId;
        this.teacher_id = teacher_id;
        this.grade = grade;
    }
    public Exam(){

    }

    @Override
    public String toString() {
        return "Exam{" +
                "start=" + start +
                ", end=" + end +
                ", paperId=" + paperId +
                ", teacher_id=" + teacher_id +
                ", grade=" + grade +
                '}';
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public int getPaperId() {
        return paperId;
    }

    public void setPaperId(int paperId) {
        this.paperId = paperId;
    }

    public int getTeacher_id() {
        return teacher_id;
    }

    public void setTeacher_id(int teacher_id) {
        this.teacher_id = teacher_id;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }
}
